package com.fengye.spring;

import com.fengye.provider.ProviderFactoryBean;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * 服务引入自定义标签
 *
 * @Author fengye
 * @Date 2023/2/14 13:49
 **/
public class RemoteServiceNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {
        registerBeanDefinitionParser("service", new ProviderFactoryBeanDefinitionParser());
    }
}
